package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告曝光对象 expose
 * 
 * @author ruoyi
 * @date 2024-04-14
 */
public class Expose extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 曝光时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "曝光时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date exposeTime;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String ip;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    @Excel(name = "OS")
    private String os;

    /** 广告名称 */
    @Excel(name = "广告名称")
    private String advertise;



    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setExposeTime(Date exposeTime) 
    {
        this.exposeTime = exposeTime;
    }

    public Date getExposeTime() 
    {
        return exposeTime;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setAdvertise(String advertise) 
    {
        this.advertise = advertise;
    }

    public String getAdvertise() 
    {
        return advertise;
    }

    public String getOs(){
        return os;
    }
    public void setOs(String os){
        this.os = os;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("exposeTime", getExposeTime())
            .append("ip", getIp())
            .append("province", getProvince())
            .append("city", getCity())
            .append("advertise", getAdvertise())
                .append("os", getOs())
            .toString();
    }
}
